package com.yunyike.constants;

import java.math.BigDecimal;

public class CommonConstant {

	/***************用户******************/
	public static final String USER_KEY_PREFIX	 = "wap.user.";
	public static final int USER_KEY_ET = 2*30*24*60*60;	// 登录有效期：两个月
	public static final String USER_KEY_COOKIE = "yunyike_wap_session_id";
	
	/***************导购ID******************/
	public static final String SHOPPER_ID = "seft-help";
	
	/***************商品******************/
	public static final double DISCOUNT = 1;
	
	/***************不满包邮时单箱邮费 欧元******************/
	public static final BigDecimal SINGLE_BOX_FREIGHT = new BigDecimal(10);// 单箱运费10欧元
	/***************包邮底限金额 欧元*****************/
	public static final BigDecimal FREE_SHIPMENT_AMOUNT = new BigDecimal(88);
	/***************单箱包邮限重  g*****************/
	public static final int FREE_SHIPMENT_WEIGHT = 1800;
	
	/***************数字共通******************/
	public static final int NUMBER__8 = -8;
	public static final int NUMBER__7 = -7;
	public static final int NUMBER__6 = -6;
	public static final int NUMBER__5 = -5;
	public static final int NUMBER__4 = -4;
	public static final int NUMBER__3 = -3;
	public static final int NUMBER__2 = -2;
	public static final int NUMBER__1 = -1;
	public static final int NUMBER_0 = 0;
	public static final int NUMBER_1 = 1;
	public static final int NUMBER_2 = 2;
	public static final int NUMBER_3 = 3;
	public static final int NUMBER_4 = 4;
	public static final int NUMBER_5 = 5;
	public static final int NUMBER_6 = 6;
	public static final int NUMBER_7 = 7;
	public static final int NUMBER_8 = 8;
	public static final int NUMBER_9 = 9;
	
	/***************与app后台约定的shopper和user的绑定串**************/
	public static final String SHOPPER_CONNECT_USER = "93or-u40ej";
	
	/***************openId cookie key**************/
	public static final String COOKIE_OPENID_KEY = "wap.user.wx.openid";
	
	/***************用户位置cookie key******************/
	public static final String USER_LOCATION = "current_location";
}
